package com.coco.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author GHOSTLaycoo
 * @date 2020/5/27 - 10:27
 */
@Data
public class CommentsInfo {
    @ApiModelProperty("标识符")
    private String id;
    @ApiModelProperty("视频id")
    private String videoId;
    @ApiModelProperty("用户Id")
    private String userId;
    @ApiModelProperty("用户姓名")
    private String userName;
    @ApiModelProperty("对话")
    private String comments;
    @ApiModelProperty("创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
